package cn.tradewin.advisor.persist.services;

import java.util.List;

import cn.tradewin.advisor.persist.model.Account;
import cn.tradewin.advisor.persist.model.CodeLabel;

public interface AccountService {
	int lockAccount(String id);
	int addAccount(Account account);
//	int delAccount(String id) throws DBException;
	int updAccount(Account account);
	Account findAccoutByID(String id);
	List<Account> listAllAccounts();
	List<CodeLabel> getAccountsOptions();
	List<Account> getAccountsNotInProject(Integer projectId);
	List<Account> getAccountsInProject(Integer projectId);
}
